(Timeline window)
Result
Windows
Macintosh
Set beginning of work area to current time
B
Set end of work area to current time
N
Set work area to selected layers
Ctrl + Alt + B
Command + Option + B
Set work area to composition duration when no layers are selected